package com.tanhua.management.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum StateEnum implements IEnum<Integer> {
    //审核状态，1为待审核，2为自动审核通过，3为待人工审核，4为人工审核拒绝，5为人工审核通过，6为自动审核拒绝
    WAIT_CONFIRM(1,"待审核"),
    ANNO_CONFIRM_ADOPT(2,"自动审核通过"),
    WAIT_PEOPLE_CONFIRM(3,"待人工审核"),
    PEOPLE_CONFIRM_REFUSE(3,"人工审核拒绝"),
    PEOPLE_CONFIRM_ADOPT(3,"人工审核通过"),
    ANNO_CONFIRM_REFUSE(3,"自动审核拒绝");

    private int value;
    private String desc;

    StateEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
